/**
 * Project Name:shiro_not_sql
 * File Name:ItemController.java
 * Package Name:cn.wind.controller
 * Date:2015年11月24日下午4:11:04
 *
*/

package cn.wind.controller;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * ClassName:ItemController <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason:	 TODO ADD REASON. <br/>
 * Date:     2015年11月24日 下午4:11:04 <br/>
 * @author   LILANDONG
 * @version  
 * @since    JDK 1.7
 * @see 	 
 */
@Controller
@RequestMapping("/item")
public class ItemController {
	
	@RequestMapping("/itempage")
	public String itempage(){
		return "itempage";
	}
	
	@RequestMapping("/add")
	public String addItem(){
		return null;
	}
	
	@RequestMapping("/delete")
	public String delItem(){
		return null;
	}
	
	@RequestMapping("/update")
	@RequiresPermissions("item:update")
	public String updateItem(){
		return "update";
	}
	
	@RequestMapping("/query")
	@RequiresPermissions("item:query")
	public String queryItem(){
		return "query";
	}
}

